//
//  UIImageView+STImageView.m
//  赛拓
//
//  Created by 王磊 on 7/29/16.
//  Copyright © 2016 立金所. All rights reserved.
//

#import "UIImageView+STImageView.h"

@implementation UIImageView (STImageView)

- (void)set_BGBannerImageViewWithString:(NSString *)urlString {
    
    @WeakObj(self)
    
    UIImage *placeHolder = [UIImage imageNamed:@""];
    [self sd_setImageWithURL:[NSURL URLWithString:urlString] placeholderImage:placeHolder completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {
        selfWeak.image = image ? image : placeHolder;
    }];
}

@end
